#ifndef _CLINET_H_
#define _CLINET_H_

/* network api */
int gethostbyname_proc(const char *name[], char *ip[], int num);
int connect_tcp_server(const char *ip, unsigned short port, int timeout);

/* sys api */
int systemUs(char *cmdString, int timeOut);
int atoi_m(unsigned char *src);

/* fifo api */
int fifo_creat(char *name);
int readfifo(int fd, char *buf, int size);
int writefifo(int fd, char *buf, int size);

#endif
